package com.example.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.example.bean.ArticleBean;

import java.util.List;

@Mapper
public interface ArticleMapper {

	int insert(ArticleBean articleBean);

	List<ArticleBean> selectAll();

	List<ArticleBean> select(String query);
}
